<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>css的权重问题</title>
    <style>
      .blue {
        color: blue;
      }
      .red {
        color: red;
      }
    </style>
  </head>
  <body>
   
    <h3> css代码解析的先后顺序问题</h3>
    <div class=" red blue">123</div>
    <div class="  blue red">123</div>
  </body>
</html>
